package com.stack.auto_parts.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Title: Orders
 * @Author WUYU_MIN
 * @Package com.stack.auto_parts.entity
 * @Date 2024/7/8 14:26
 * @description: 订单
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orders {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String uuid;
    private String partUuid;
    private String partName;
    private String supplier;
    private Integer number;
    private double totalPrice;
    private String purchaseName;
    private String state;
    private String approver;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime ;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime ;
    private String remark;
}
